//
//  THCpcHallModel.m
//  YJB
//
//  Created by YJB on 2016/11/28.
//  Copyright © 2016年 YJB. All rights reserved.
//

#import "THCpcHallModel.h"
@implementation THCpcHallModel
+(NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{@"ID":@"id",
             @"title":@"adv_title",
             @"iconUrl":@"adv_icon",
             @"award":@"usergold_one",
             @"vipAward":@"vipgold_one",
             @"leftNum":@"surplus_num",
             @"publishid":@"publishid",
             @"publisher":@"publisher"};
}

-(CGFloat)cellHeight
{
    if (!_cellHeight)
    {
        CGFloat padding = 20;
        CGFloat inset = 5;
        CGFloat h = 0;
        CGFloat userIconH = 44;
        CGFloat shareBottomViewH = 64;
        //文本高度
        NSString *tempString = _title;
        CGFloat height = [NSString heightForString:_title fontSize:16 andWidth:IPHONE_W-12-48-12-15];
        
    }
    return _cellHeight;
}
@end
